﻿package wibrst.net {
	import flash.events.Event;
	
	/**
	 * ...
	 * @author wibrst@qq.com
	 */
	public class ESignal extends Event {
		
		/// event
		static public const ALL_READY:String = "ALL_READY";
		static public const IO_ERROR:String = "IO_ERROR";
		
		public function get sIdData():String { return _sIdData; }
		
		public function get data():* { return _data; }
		
		
		private var _type:String;
		private var _sIdData:String;
		private var _data:*;
		
		public function ESignal( type:String, sIdData:String, data:* ) {
			super( type, false, false );
			_type = type;
			_sIdData = sIdData;
			_data = data;
		}
		
		public override function clone():Event {
			return new ESignal( _type, _sIdData, _data );
		}
		
		public override function toString():String {
			return formatToString( "_sIdData" );
		}
		
	}

}